package patten.xingwei.strategy.demo1;

/**
 * Description：TODO
 * Author：zwenzhi
 * Date：2023/11/18 15:07
 */
public class Client {
    public static void main(String[] args) {
        OrderContext foodOrder = new OrderContext(new FoodStrategy());
        foodOrder.createOrder("cookie",5.5);

        OrderContext clothOrder = new OrderContext(new ClothStrategy());
        clothOrder.createOrder("dress",10);
    }
}
